<?php
/**
 * Answers Block
 * 
 * @author	Xavier VILAIN
 * @package Nawa\Survey
 * @license #license-nawa-surver#
 * 
 */
use Nawa\Messages;
use Fox\Html\Block;
$xview = Xview::instance();
$ajax = $xview->val('ajax',false);
$block = new Block('bAnswers',Msg(Messages::BUNDLE,Messages::SURVEY_QUESTION_ANSWERS));

if($xview->ajax() && !$ajax) {
	//echo $block->display();
} else {
	return $block;
}